/*
 * $Id: DataBaseItem.java 73 2009-06-06 11:59:53Z donbeave $
 */

package labour.dbmanager.client.model;

import com.extjs.gxt.ui.client.data.ModelData;

import labour.concept.client.data.model.BaseModel;
import labour.dbmanager.client.connector.NavigationConnector;

@SuppressWarnings("serial")
public abstract class DataBaseItem<D extends ModelData> extends BaseModel<D> {

  public String getName() {
    return get("name");
  }

  public void setName(String name) {
    set("name", name);
  }

  public NavigationConnector connector() {
    return get(CONNECTOR);
  }

}